package cn.hs.mapper;

import cn.hs.entity.Article;
import cn.hs.entity.Heartmark;

import java.util.List;

public interface HeartmarkMapper {
    //查询所有并分页
    public List<Heartmark> selectAll(Heartmark heartmark);
    //添加
    public int insert(Heartmark heartmark);
    //删除
    public int delete(Integer id);
    //修改
    public int update(Heartmark heartmark);

    Heartmark selectById(Integer id);
}
